MouseWheel

public final static MouseWheel MouseWheel(Point location, Point locationOnScreen, KeyModifiers keyModifiers, ScrollType scrollType, Float deltaX, Float deltaY)
public final static MouseWheel MouseWheel(Point location, Point locationOnScreen, KeyModifiers keyModifiers, ScrollType scrollType, Float deltaX, Float deltaY)

Creates a new instance of MouseWheel with the given parameters.

Since

8.0.0

Parameters

location

The mouse position relative to the bounds of the browser instance.

locationOnScreen

The mouse position relative to the bounds of the screen.

keyModifiers

The keyboard modifiers applied.

scrollType

The scroll type of the event.

deltaX

The number of units to scroll horizontally.

deltaY

The number of units to scroll vertically.